package com.gzy.studentsociety.dao;

import com.gzy.studentsociety.entity.Student;

import java.sql.SQLException;
import java.util.List;

/**
* @version: java version 1.8
* @Author: Chuan Liu
* @description:
* @date: 2024-10-28 18:23
*/public interface StudentDao {
    Student login(String acc, String pwd) throws SQLException;
    Student findByNumber(String number) throws SQLException;
    Student findById(Integer id) throws SQLException;

    List<Student> queryStudent(String name,String number)throws SQLException;
}
